<%@ page language="java"  pageEncoding="utf-8"%>
<%@ page contentType="text/html;charset=gb2312"%>
<%
	request.setCharacterEncoding("gb2312");
%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>Error</title>

		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=GB2312" />
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
		<META NAME="Author" CONTENT="BIPLAM" />
		<SCRIPT src="/biplam/Js/onerror.js" type=text/javascript charset='utf-8'></SCRIPT>
		<SCRIPT src="/biplam/Js/default.js" type=text/javascript charset='utf-8'></SCRIPT>
		<SCRIPT src="/biplam/Js/tools.js" type=text/javascript charset='utf-8'></SCRIPT>
		<SCRIPT src="/biplam/Js/ajx.js" type=text/javascript charset='utf-8'></SCRIPT>
		<SCRIPT src="/biplam/Js/cover.js" type=text/javascript charset='utf-8'></SCRIPT>
		<link rel=stylesheet href="/biplam//Css/default.css" type="text/css">
	</head>
	<body>
		<%
			String title = new String(request.getParameter("t").getBytes("ISO8859_1"));
			String msg = new String(request.getParameter("m").getBytes("ISO8859_1"));
		%>
		<DIV ID='alert' class="pp" style="z-index: 15;">
			<DIV ID='alertb' class='ab'>
			</DIV>
			<DIV ID='alertf' class='fd'
				style="width: 300px; height: 200px; z-index: 16;">
				<DIV class='ft'
					style="background-repeat: repeat-x; background-image: url(/biplam/images/title_bg.gif);">
					<SPAN ID='alertft' class='fst' style="margin-left: 5; float: Left;">
						<%=title%> </SPAN>
					<DIV ID='alertfi' class='sib' title='��抽��' style="float: Right;"
						onclick="javascript:location='<%=basePath%>';"
						onmouseout="javascript:siu(this);"
						onmouseover="javascript:sis(this);">
						<DIV ID='alertfis' class='si'
							style="background-image: url(/biplam/images/wclose.gif);">
						</DIV>
						<DIV ID='alertfiu' class='si'
							style="background-image: url(/biplam/images/wcloseu.gif);">
						</DIV>
					</DIV>
				</DIV>
				<DIV ID='alertfc' class='fc'>
					<%=msg%>
				</DIV>
			</DIV>
		</DIV>
		<script>
		var p_c,p_w,p_h;
		var text=$('alertfc').innerText;
		p_c=text.replace(/[^\x00-\xff]/g,'**').length;
		eval("p_c=Math.sqrt(p_c*14*6.5);");
		eval("p_w=p_c*2*0.58");
		p_w+=p_w%12+10;
		eval("p_h=p_c*2*0.42+44");
		
		frameResize('alertf',Math.max(300,p_w),Math.max(200,p_h));
		$("alertf").style.top=document.body.clientHeight/2-$("alertf").style.pixelHeight/2;
		$("alertf").style.left=document.body.clientWidth/2-$("alertf").style.pixelWidth/2;
		$("alert").style.visibility='inherit';
</script>
	</body>
</html>
